package com.shinewind.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminArticleDto implements Serializable {
    @ApiModelProperty(value = "模型id")
    @JsonProperty("mId")
    private String mId;
    @ApiModelProperty(value = "用户id")
    @JsonProperty("uId")
    private String uId;
    @ApiModelProperty(value = "模型名称")
    @JsonProperty("mName")
    private String mName;
    @ApiModelProperty(value = "用户名")
    @JsonProperty("uName")
    private String uName;
    @ApiModelProperty(value = "文章标题")
    private String title;
    @ApiModelProperty(value = "文章内容")
    private String content;
    @ApiModelProperty(value = "文章类型")
    private String type;
    @ApiModelProperty(value = "图片")
    private String src;
    @ApiModelProperty(value = "链接地址")
    private String href;
}
